package com.future.network.annotation;

import com.future.network.NetworkType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)//说明是方法注解
@Retention(RetentionPolicy.RUNTIME)//注解不仅被保存到class文件中，jvm加载class文件之后
public @interface Network {
    NetworkType netType() default NetworkType.AUTO;
}
